package leetcode.code0299;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution299 implements IDebug {

	public abstract String getHint(String secret, String guess);

	@Override
	public void debug1() {
		String secret = "1807";
		String guess = "7810";
		String e = "1A3B";
		String r = this.getHint(secret, guess);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String secret = "1123";
		String guess = "0111";
		String e = "1A1B";
		String r = this.getHint(secret, guess);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String secret = "1";
		String guess = "0";
		String e = "0A0B";
		String r = this.getHint(secret, guess);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		String secret = "1";
		String guess = "1";
		String e = "1A0B";
		String r = this.getHint(secret, guess);
		HelpDebug.compare(e, r);
	}

}
